<?xml version="1.0"?>
<jsp:root 	xmlns:jsp="http://java.sun.com/JSP/Page"
 			xmlns:c="http://java.sun.com/jsp/jstl/core"
 			xmlns="http://www.w3.org/1999/xhtml"
 			version="2.1">
 
 <jsp:directive.page contentType="text/html" pageEncoding="UTF-8" />
 <jsp:directive.page isELIgnored="false" />
 <jsp:output 	omit-xml-declaration="false" 
 			 	doctype-root-element="HTML" 
 				doctype-system="about:legacy-compat" />
 				
 
 
<html>
<head>

<link rel="icon" href="${pageContext.request.contextPath}/images/favicon.ico" type="image/x-icon"/>
<link rel="shortcut icon" href="${pageContext.request.contextPath}/images/favicon.ico" type="image/x-icon" />

<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/reset.css" media="screen" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/java-admin.css" media="screen" />

<title>JavaMyAdmin</title>

</head>

<body>

<div id="inicio">

<div id="cabecera">
	<div class="logo"><img src="${pageContext.request.contextPath}/images/logo-java-myadmin.png"/></div>
</div>


<div class="login">

	<form action="${pageContext.request.contextPath}/login" method="post">
		
		<p>Introduzca sus datos de acceso a MySQL</p>
	
		<table>
		
			<tr>
				<td class="centrar-vertical">Usuario:</td>
				<td><input class="campo" type="text" name="usuario"/></td>
			</tr>
			
			<tr>
				<td class="centrar-vertical">Password:</td>
				<td><input class="campo" type="password" name="password"/></td>
			</tr>
			
			<tr>
				<td class="centrar-vertical">Servidor:</td>
				<td><input class="campo" type="text" name="servidor" value="localhost"/></td>
			</tr>
			
			<tr>
				<td class="centrar-vertical">Puerto:</td>
				<td><input class="campo" type="text" name="puerto" value="8889"/></td>
			</tr>
		
			<tr>
				<td><label for="recordar">Recordad contraseña</label><input type="checkbox" name="recordar" value="recordar" id="recordar"/></td>
				<td><input class="boton" type="submit" value="Acceder"/></td>
			</tr>
				
		</table>
		
	</form>

</div>

<!-- Error de conexión -->
<c:if test="${error!=null}"><div class="aviso"><div class="pro_aviso ko"><p><c:out value="${error}"></c:out></p></div></div></c:if>

</div>

</body>
</html>
</jsp:root>